//
//  Students.m
//  UI11_Address
//
//  Created by dllo on 15/10/23.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "Students.h"

@implementation Students


- (void)dealloc
{
    [_gender release];
    [_myimage release];
    [_name release];
    [_phoneNumber release];
    [super dealloc];
}

//实现KVC方法,当kvc发现字典的key跟model属性名不一致时,会通过该方法返回

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
    if ([key isEqualToString:@"image1"]) {
        self.myimage = [UIImage imageNamed:value];
    }
}




@end
